//package com.tuling.llmlangchain4j.controller;
//
//import dev.langchain4j.model.chat.ChatModel;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestParam;
//import org.springframework.web.bind.annotation.RestController;
//
////@RestController
////public class ChatController {
////    @Autowired
////    ChatModel chatModel;
////
////    public ChatController(ChatModel chatModel) {
////        this.chatModel = chatModel;
////    }
////
////    @GetMapping("/chat")
////    public String model(@RequestParam(value = "message", defaultValue = "Hello") String message) {
////        return chatModel.chat(message);
////    }
////}